package SSM.Chat.Exception;


// 处理系统异常
public class SystemException extends RuntimeException {

    private  Integer Code;

    public Integer getCode() {
        return Code;
    }

    public void setCode(Integer code) {
        Code = code;
    }

    public SystemException(Integer code) {
        Code = code;
    }

    public SystemException(String message, Integer code) {
        super(message);
        Code = code;
    }

    public SystemException(String message, Throwable cause, Integer code) {
        super(message, cause);
        Code = code;
    }

}
